package com.jr.pojo;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDateTime;

@Data
@NoArgsConstructor
@AllArgsConstructor
public class PetDiary {
    private Integer diaryId;
    private Integer orderId;
    private Integer providerId;
    private String entryDate;
    private String title;
    private String content;
    private String photos; // JSON string
    private String mood; // excellent, good, normal, poor, sick
    private String appetite; // excellent, good, normal, poor, none
    private String activityLevel; // very_active, active, normal, low, very_low

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime createdAt;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime updatedAt;
}
